import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import Vant from 'vant' 
import 'vant/lib/index.css';
import { s3Layer, layer } from 'vue3-layer';
import 'vue3-layer/dist/s3Layer.css';

const app = createApp(App) 

// 将 API 挂载到 Vue实例对象中 
app.config.globalProperties.$layer = layer ;

app.use(router).use(Vant) ;

app.component('s3-layer', s3Layer);

app.mount('#app')
